<?php 
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');
$modelid = 100;
?>
<div class="pad-lr-10">

<form name="myform" action="?m=daoshi&c=admin_daoshi&a=" method="post">
<div class="table-list">
    <table width="100%" cellspacing="0">
        <thead>
            <tr>
            <th width="35" align="center"><input type="checkbox" value="" id="check_box" onclick="selectall('aid[]');"></th>
            <th width="35">编号</th>
            <th>申请人</th>
			<th width="90"align="center">留言</th>
			<th  align="center">添加时间</th>
			<th  align="center"><?php echo L('operations_manage')?></th>
			</tr>
        </thead>
    <tbody>
 <?php 
if(is_array($data)){
	foreach($data as $announce){
?>   
	<tr>
	<td align="center">
	<input type="checkbox" name="aid[]" value="<?php echo $announce['zhibanid']?>">
	</td>
    <td>
	<input type="text" name="listorder[<?php echo $announce['zhibanid']?>]" value="<?php echo $announce['bookingid']?>" size="5" >
	</td>
	<td align="center"><a  class="red" href="javascript:member_infomation(<?php echo $announce['userid'];?>, '10', '')"><?php echo $announce['username'];?></a></td>
	<td align="center"><?php echo $announce['message']?></td>
	<td align="center"><?php echo date('Y-m-d H:i:s', $announce['updatetime'])?></td>
	<td align="center"></td>
	</tr>
<?php 
	}
}
?>
</tbody>
    </table>
  
      </div>
 <div id="pages"><?php echo $this->db_zbing->pages;?></div>
</form>
</div>
</body>
</html>
<script type="text/javascript">
<!--
function member_infomation(userid, modelid, name) {
	window.top.art.dialog({id:'modelinfo'}).close();
	window.top.art.dialog({title:'个人信息',id:'modelinfo',iframe:'?m=member&c=member&a=memberinfo&userid='+userid+'&modelid='+modelid,width:'700',height:'500'}, function(){var d = window.top.art.dialog({id:'modelinfo'}).data.iframe;d.document.getElementById('dosubmit').click();return false;}, function(){window.top.art.dialog({id:'modelinfo'}).close()});
}

//-->
</script>
